package cn.com.lsjz.nursemanager.service.system;

import java.util.List;
import java.util.Map;

import cn.com.lsjz.nursemanager.model.system.SysUser;


public interface SysUserService {
	
	SysUser getUser(String userId,String password);
	
	List<SysUser> loadUserList(String deptCode,String userName);
	
	SysUser saveUser(SysUser user);
	
	SysUser editUser(SysUser user);
	
	void delUser(Integer id);
	
	SysUser getUser(Integer id);
	
	Map<String, Object> getPermission(String userId);

	void savePermission(String userId,String roles,String depts);
	
	void activeUser(Integer id,Integer active);

	boolean modifyPwd(Integer id, String oldPassword, String newPassword);
}
